// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// import 'iview-style';
import iView from 'iview';
import elementui from 'element-ui';
import 'iview/dist/styles/iview.css';
import 'bootstrap';
import '@/assets/css/common.css';
import moment from 'moment';
window.moment = moment;
import jquery from 'jquery';
// import vueueditor from 'vue-ueditor';
import '../static/ueditor/ueditor.config.js'
import '../static/ueditor/ueditor.all.min.js'
import '../static/ueditor/lang/zh-cn/zh-cn.js'
import '../static/ueditor/ueditor.parse.min.js'
import axios from 'axios';
window.axios = axios;
import './assets/permission'
import filters from './assets/js/filter';
Object.keys(filters).forEach(k => Vue.filter(k, filters[k]));
window.$=jquery;
Vue.use(iView);
Vue.use(elementui);

Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
